﻿@model Janus.Mes.VO.SysConfigVO
@{
    Layout = null;
    int i = 1;
}
@*<style type="text/css">
        ul.rightTools {
            float: right;
            display: block;
        }

            ul.rightTools li {
                float: left;
                display: block;
                margin-left: 5px;
            }
    </style>*@
<form id="pagerForm" method="get" action="BaseData/Customer/index?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
    <input type="hidden" name="Name" value="" />
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="BaseData/StoreFile/index?action=search&OpID=@ViewData["OperateID"]"
          method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        工序编号：
                    </td>
                    <td>
                        @Html.TextBox("Code", "")
                    </td>
                    <td>
                        工序名称：
                    </td>
                    <td>
                        @Html.TextBox("Name", "")
                    </td>
                    <td align="right">
                        <div class="subBar">
                            <ul>
                                <li>
                                    <div class="buttonActive">
                                        <div class="buttonContent">
                                            <button type="submit" name="submit">
                                                查询
                                            </button>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div class="pageContent" layoutH="20">
    @*@Html.Partial("Buttons", ViewData["CurrentPageButtons"])*@
    @*<table class="treetable list" width="100%" layouth="95">
            <thead>
                <tr class="header">
                    <th>工序编号</th>
                    <th>工序名称</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr target="CheckSettings_id" rel="1" data-id="1">
                    <td>A001</td>
                    <td>涂一(I)</td>
                    <td>@Html.Partial("Button3", null)</td>
                </tr>
                <tr target="CheckSettings_id" rel="2" data-id="2">
                    <td>B002</td>
                    <td>涂二(II)</td>
                    <td>@Html.Partial("Button3", null)</td>
                </tr>
            </tbody>
        </table>*@


    <div class="left" layoutH="40">
        <ul class="tree treeFolder">
            <li>
                <a href="javascript">WO16010001-001</a>
                <ul>
                    <li><a href="Manufacturing/Schedule/GetMachineList" target="ajax" rel="gdBox">工序1</a></li>
                    <li><a href="Manufacturing/Schedule/GetMachineList" target="ajax" rel="gdBox">工序2</a></li>
                    <li><a href="Manufacturing/Schedule/GetMachineList" target="ajax" rel="gdBox">工序3</a></li>
                    <li><a href="Manufacturing/Schedule/GetMachineList" target="ajax" rel="gdBox">工序4</a></li>
                </ul>
            </li>

        </ul>
    </div>

    <div class="right" layoutH="40">
        <div class="tabs">
            <div class="tabsHeader">
                <div class="tabsHeaderContent">
                    <ul>
                        <li class="selected"><a href="javascript:;"><span>采样规则</span></a></li>
                        <li><a href="javascript:;"><span>检验特性</span></a></li>
                        <li><a href="javascript:;"><span>参考文档</span></a></li>
                    </ul>
                </div>
            </div>

            <div class="tabsContent">
                @* 采样规则 *@
                <div>
                    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
                          onsubmit="return validateCallback(this, dialogAjaxDone);">
                        @Html.ValidationSummary(true)
                        <div class="pageFormContent" layouth="56">
                            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
                            @Html.HiddenFor(model => model.Id)
                            <div class="baseinfo">
                                <p>
                                    <label>
                                        工序：
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                                    @Html.ValidationMessageFor(sysConfig => sysConfig.Title)
                                </p>
                                <p>
                                    <label>
                                        工序名称
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                                </p>
                                <p>
                                    <label>
                                        采样过程：
                                    </label>
                                    <input class="required textInput" name="org1.orgNum" type="text" postfield="keyword" suggestfields="orgNum,orgName," suggesturl="Quality/SampleProcess/Select" lookupgroup="org1" autocomplete="off">
                                    <a class="btnLook" rel="Select" href="Quality/InspectionScheme/SelectItem" lookupgroup="org1"></a>
                                </p>
                                <p>
                                    <label>
                                        采样过程名称
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title, new { @Readonly = "true" })
                                </p>
                            </div>
                            <fieldset>
                                <legend>采样过程参数</legend>
                                <p>
                                    <label>
                                        采样类型：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                                </p>
                                <p>
                                    <label>
                                        自定义抽样表：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                                </p>
                                <p>
                                    <label>
                                        检验水平：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                                </p>
                                <p>
                                    <label>
                                        严格程度：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                                </p>
                                <p>
                                    <label>
                                        AQL：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                                </p>
                                <p>
                                    <label>
                                        百分比(%)：
                                    </label>
                                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                                </p>
                            </fieldset>
                            <fieldset>
                                <legend>首检/巡检参数设置</legend>
                                <p>
                                    <label>
                                        巡检时间设定(m)：
                                    </label>
                                    <input id="unit" style="width:75px" />
                                </p>
                                <p>
                                    <label>
                                        巡检数量：
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                                </p>
                                <p>
                                    <label>
                                        首检数量：
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                                </p>
                                <p>
                                    <label>
                                        尾检数量：
                                    </label>
                                    @Html.TextBoxFor(sysConfig => sysConfig.Title)
                                </p>

                            </fieldset>
                            @Html.Partial("Operation", Model)
                        </div>
                        @Html.Partial("FormButtonBar")
                    </form>
                </div>
                @* 检验特性 *@
                <div>
                    <div>
                        <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="BaseData/StoreFile/index?action=search&OpID=@ViewData["OperateID"]"
                              method="post">
                            <div class="searchBar">
                                <table class="searchContent">
                                    <tr>
                                        <td>
                                            特性编号：
                                        </td>
                                        <td>
                                            @Html.TextBox("Code", "")
                                        </td>
                                        <td>
                                            特性名称：
                                        </td>
                                        <td>
                                            @Html.TextBox("Name", "")
                                        </td>
                                        <td align="right">
                                            <div class="subBar">
                                                <ul>
                                                    <li>
                                                        <div class="buttonActive">
                                                            <div class="buttonContent">
                                                                <button type="submit" name="submit">
                                                                    查询
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </li>
                                                </ul>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                    <div>
                        @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
                        <table class="treetable list" width="100%" layouth="95">
                            <thead>
                                <tr>
                                    <th>序号</th>
                                    <th>检验特性</th>
                                    <th>标准值</th>
                                    <th>上公差</th>
                                    <th>下公差</th>
                                    <th>上限值</th>
                                    <th>下限值</th>
                                    <th>小数位数</th>
                                    <th>单位</th>
                                    <th>检验方法</th>
                                    <th>检验设备</th>
                                    <th>检验地点</th>
                                    <th>检验环境</th>
                                    <th>检验方式</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>有无缺胶</td>
                                    <td>结构检验(I)</td>
                                    <td>是</td>
                                    <td>是</td>
                                    <td>定性</td>
                                    <td>2.0</td>
                                    <td>2.5(I)</td>
                                    <td>-0.2</td>
                                    <td></td>
                                    <td></td>
                                    <td>目视检测</td>
                                    <td>三次元影像仪(I)</td>
                                    <td>0</td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>盐雾测试</td>
                                    <td>信赖性测试(I)</td>
                                    <td>是</td>
                                    <td>否</td>
                                    <td>定量</td>
                                    <td>2.0</td>
                                    <td>2.5(I)</td>
                                    <td>-0.2</td>
                                    <td></td>
                                    <td></td>
                                    <td>仪量测量</td>
                                    <td>三次元影像仪(I)</td>
                                    <td>0</td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>有无缺胶</td>
                                    <td>结构检验(I)</td>
                                    <td>是</td>
                                    <td>是</td>
                                    <td>定性</td>
                                    <td>2.0</td>
                                    <td>2.5(I)</td>
                                    <td>-0.2</td>
                                    <td></td>
                                    <td></td>
                                    <td>目视检测</td>
                                    <td>三次元影像仪(I)</td>
                                    <td>0</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                @* 参考文档 *@
                <div>
                    <div >
                        <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="BaseData/StoreFile/index?action=search&OpID=@ViewData["OperateID"]"
                              method="post">
                            <div class="searchBar">
                                <table class="searchContent">
                                    <tr>
                                        <td>
                                            文件编号：
                                        </td>
                                        <td>
                                            @Html.TextBox("Code", "")
                                        </td>
                                        <td>
                                            文件名称：
                                        </td>
                                        <td>
                                            @Html.TextBox("Name", "")
                                        </td>
                                        <td align="right">
                                            <div class="subBar">
                                                <ul>
                                                    <li>
                                                        <div class="buttonActive">
                                                            <div class="buttonContent">
                                                                <button type="submit" name="submit">
                                                                    查询
                                                                </button>
                                                            </div>
                                                        </div>
                                                    </li>
                                                </ul>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                    <div>
                        @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
                        <table class="treetable list" width="100%" layouth="95">
                            <thead>
                                <tr>
                                    <th width="30px">序号</th>
                                    <th>文件编码</th>
                                    <th>文件名称</th>
                                    <th>文件类型</th>
                                    <th>文件描述</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>1</td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                    <td></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="tabsFooter">
                <div class="tabsFooterContent"></div>
            </div>
        </div>
    </div>
</div>

